#include "subtractionsymbol.h"

SubtractionSymbol::SubtractionSymbol()
{
	SetupImages();
}

SubtractionSymbol::~SubtractionSymbol()
{
	CleanupImages();
}

void SubtractionSymbol::SetupImages()
{
	sprite = Iw2DCreateImageResource("subtraction");
}

void SubtractionSymbol::CleanupImages()
{
	if(sprite != NULL)
	{
		delete sprite;
		sprite = NULL;
	}
}
   
void SubtractionSymbol::Render()
{
	Iw2DDrawImage(sprite, CIwSVec2(0, Iw2DGetSurfaceHeight() / 4));
}